import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;


public class TicTacToe {
	public static void main(String[] args) {
		JFrame frame = new JFrame("Tic-Tac-Toe");
		JPanel p1 = new JPanel();
		JPanel p2 = new JPanel();
		
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		BorderLayout b = new BorderLayout();
		frame.setLayout(b);
		DisplayPanel dp = new DisplayPanel();
		frame.add(dp, b.EAST);
		
		frame.add(new TicTacToePanel(dp), b.WEST);
		
		frame.pack();
		frame.setVisible(true);
	}
}
